@charset "utf-8";
@import "reset";
@mixin paddinglrzero{
    padding-left: 0;
    padding-right: 0;
}
@mixin flexcenter{
    display: flex;
    display: -webkit-flex;
    justify-content: center;
    align-items: center;
}
@mixin flexbetween{  
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
    align-items: center;
}
@mixin rowwidth{
    width: 85%;
}
@function v($p){
    @return $p/1440*100vw;
}

@media only screen and (min-width: 768px) {
    html,body {min-width: 1100px;}
}
html,body{
    font-size: 14px;
}

//解决导航栏掉下来
@media (min-width:768px) and (max-width: 997px){
    .nav > li > a {
    padding: 10px 3px!important;
    }
}
@media (min-width:800px) and (max-width: 997px){
    .nav > li > a {
    padding: 10px 5px!important;
    }
}
@media (min-width:900px) and (max-width: 997px){
    .nav > li > a {
    padding: 10px 9px!important;
    }
}
/*--------index.html 首页-中部-----------------------------------------------*/
.section_index{
    //LayaFlash 引擎
    @media (max-width:768px){
        .LayaFlash_left{
                padding-left: 45px;
                box-sizing: border-box;}
    }
    //Layabox 优势
    @media (max-width:768px){
        .Layabox>.row{
            @include rowwidth;
            display: block;
            text-align: center;
            .Layabox_left>img{
                margin: 0 auto;
                padding-bottom: v(100);
            }
            .Layabox_right{
                padding-left: 0;
                padding-right: 0;
                >ul>li{
                    width: 100%;
                    padding-left: 0;
                    padding-right: 0;
                    >p{text-align: left;}
                }
            }
        }
    }
//Wonderful game 精彩游戏
    @media (max-width:768px){
        .WonderGame_contect{
            >.row{
                padding-left: 30px;
                padding-right: 0px;
                margin-top: 25px;
            }
        }
    }
    
}
/*------family.html layabox家族-中部-------------------------------------------------*/
.section_family{
    //LayaPlayer 播放器
    .LayaPlayer{
        //右图
        @media (max-width:768px){
            .LayaPlayer_Rpic{
                >img{padding-top: 50px;}
            }
        }  
    }
    
}
/*------game.html 游戏-中部-------------------------------------------------*/
@media (max-width:768px){
    .game_more{
        .game_more_mask{
            padding: 0px!important;
            font-size: 10px!important;}
        .game_more_mask::after{
                  content: "..."; 
                  position: absolute; 
                  bottom: 0; 
                  right: 0; }
    }
}

/*------aboutus.html 关于我们-中部-------------------------------------------*/
//@media (max-width:768px){
//  .section_aboutus{
//        CompanyIntro 公司简介
//      .CompanyIntro{
//            CompanyIntro_right 右图
//          .CompanyIntro_right{
//              margin-top: 37px !important;
//              margin-bottom: 25px !important;   
//          }
//      }
//      
//  }
//}
/*------news.html 新闻动态-中部-------------------------------------------*/
@media (max-width:768px){
    .section_news{
        //顶部图片部分
        .news_top_pic{
            .news_top_pic_mask{display: none;}
        }
        //news_moments 动态
       .news_moments{
           .row{
                //news_moments_right 右文
               .news_moments_right{
                   h3{font-size: 13px;}
                   p{font-size: 12px;}
               }
           }
       }
        
    }
    //news_page 分页
    .new_page{
        .pagination > li > a,
        .pagination > li > span {
        padding: 5px 10px;
        }
    }
}
